'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.

/**
 * @fileoverview 英雄剩余血量不曾低于$1%
 * @author sundbcn@gmail.com (sun debing)
 */

var CopyCondition = function () {

};

/**
 * 验证
 */
CopyCondition.prototype.getProgress = function (condition, record, damage_build_list, data) {
    var hero_hp = data.hero_hp || 0;
    return {
        progress: 0,
        total_progress: 0,
        is_pass: Number(data.hero_hp >= condition.param1)
    };
};

module.exports = new CopyCondition();
